package com.example.benefitcommunity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.util.Date;
import java.io.Serializable;

/**
 * 失物招领表(BcLostThing)实体类
 *
 * @author makejava
 * @since 2025-08-19 14:54:41
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("bc_lost_thing")
public class BcLostThing implements Serializable {
    @Serial
    private static final long serialVersionUID = 840941128627790552L;
    /**
     * 失物招领id
     */
    private Integer id;
    /**
     * 图片
     */
    private String picture;
    /**
     * 类型
     */
    private String type;
    /**
     * 标题
     */
    private String title;
    /**
     * 电话
     */
    private String phone;
    /**
     * 酬金
     */
    private String reward;
    /**
     * 地址
     */
    private String address;
    /**
     * 描述
     */
    private String description;
    /**
     * 社区id
     */
    private Integer communityid;
    /**
     * 用户id
     */
    private Integer userid;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createtime;

}

